aliasReference
Type
function
Summary
Returns the name and location of the file or folder that an alias, symbolic link, or shortcut refers to.
Syntax
the aliasReference of <aliasPath>
aliasReference(<aliasPath>)
Description
Use the aliasReference function to perform an operation on a file after the user has selected an alias, symbolic link, or shortcut to the file.
Parameters
Name | Type | Description |
---|---|---|
aliasPath | The location and name of the alias whose referenced file or folder you want to get. If you specify a name but not a location, LiveCode assumes the file is in the defaultFolder. |
Examples
the aliasReference of "/Disk/Folder/Alias"
put the aliasReference of it into fileToOpen
Related
control structure: function
function: result, aliasReference
glossary: symbolic link, shortcut, return, alias, folder
keyword: file
command: create alias
constant: empty
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile